#ifndef  __HARD_FLOW_LED_H__
#define  __HARD_FLOW_LED_H__

#include "stm32f10x.h"

#define LED_PORT_RCC    RCC_APB2Periph_GPIOB
#define LED_PORT        GPIOB
#define LED_1           GPIO_Pin_0
#define LED_2           GPIO_Pin_1
#define LED_3           GPIO_Pin_2
#define LED_4           GPIO_Pin_3
#define LED_5           GPIO_Pin_4
#define LED_6           GPIO_Pin_5
#define LED_7           GPIO_Pin_6
#define LED_8           GPIO_Pin_7
#define LED_9           GPIO_Pin_8
#define LED_10          GPIO_Pin_9
#define LED_11          GPIO_Pin_10
#define LED_12          GPIO_Pin_11
#define LED_13          GPIO_Pin_12
#define LED_14          GPIO_Pin_13
#define LED_15          GPIO_Pin_14
#define LED_16          GPIO_Pin_15

void Hard_FlowLed_Init(uint16_t leds[], uint8_t size);

void Hard_FlowLed_On(uint16_t led);

void Hard_FlowLed_Off(uint16_t led);

void Hard_FlowLed_Toggle(uint16_t led);

void Hard_FlowLed_OnAll(uint16_t leds[], uint8_t size);

void Hard_FlowLed_OffAll(uint16_t leds[], uint8_t size);

#endif /* __HARD_FLOW_LED_H__ */
